﻿#ifndef CODEVERSION_H
#define CODEVERSION_H

#include "datastructure.h"

class Memento;

class CodeVersion
{
public:
    CodeVersion();

    void setVersion(int version, QString date, QString label);

    Memento* save();

    void restore(Memento* memento);

    void current();

private:
    CodeInfo m_codeInfo;
};

#endif // CODEVERSION_H
